<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta charset="utf-8">
<title>主页</title>
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="/img/favicon.ico" mce_href="/img/favicon.ico" type="image/x-icon">  
<link rel="stylesheet" type="text/css"
	href="lib/bootstrap/css/bootstrap.css">

<link rel="stylesheet" type="text/css" href="<%=path %>/stylesheets/theme.css">
<link rel="stylesheet" href="<%=path %>/lib/font-awesome/css/font-awesome.css">
<script src="<%=path %>/lib/jquery-1.7.2.min.js" type="text/javascript"></script>

<!-- Demo page code -->

<style type="text/css">
#line-chart {
	height: 300px;
	width: 800px;
	margin: 0px auto;
	margin-top: 1em;
}

.brand {
	font-family: georgia, serif;
}

.brand .first {
	color: #ccc;
	font-style: italic;
}

.brand .second {
	color: #fff;
	font-weight: bold;
}
</style>

<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="144x144"
	href="../assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114"
	href="../assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72"
	href="../assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed"
	href="../assets/ico/apple-touch-icon-57-precomposed.png">
</head>

<!--[if lt IE 7 ]> <body class="ie ie6"> <![endif]-->
<!--[if IE 7 ]> <body class="ie ie7 "> <![endif]-->
<!--[if IE 8 ]> <body class="ie ie8 "> <![endif]-->
<!--[if IE 9 ]> <body class="ie ie9 "> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<body class="">
	<!--<![endif]-->

	<div class="navbar">
		<div class="navbar-inner">
			<ul class="nav pull-right">
				<li id="fat-menu" class="dropdown"><a href="#" role="button"
					class="dropdown-toggle" data-toggle="dropdown"> <i
						class="icon-user"></i>
						<shiro:user>  
							<shiro:principal/>
						</shiro:user>
						 </a>
					<ul class="dropdown-menu">
						<li><a tabindex="-1" href="#">个人资料</a></li>
						<li class="divider"></li>
						<li><a tabindex="-1" class="visible-phone" href="#">设置</a></li>
						<li class="divider visible-phone"></li>
						<li><a tabindex="-1" href="logout.action">切换用户</a></li>
						<li class="divider"></li>
						<li><a tabindex="-1" href="logout.action">注销</a></li>
					</ul>
				</li>

			</ul>
			<a class="brand" href=""><span class="first">金山酒店管理</span>
				<span class="second">系统</span> </a>
		</div>
	</div>
	<div class="sidebar-nav">
		<form class="search form-inline">
			<input type="text" placeholder="Search..." >
		</form>
		<shiro:hasRole name="前台招待">
		
		<a href="#client-menu" class="nav-header" data-toggle="collapse">客户管理</a> 
		<ul id="client-menu" class="nav nav-list collapse">
			<li><a href="customerList.action" target="rinfo">客户信息</a></li>
            <li><a href="vipInfoList.action" target="rinfo">会员信息</a></li>
        </ul>
		
			<a href="#dashboard-menu" class="nav-header" data-toggle="collapse">入住登记</a>
		<ul id="dashboard-menu" class="nav nav-list collapse">
			<li><a href="roomlist.action" target="rinfo">房间列表</a>
			</li>
			<li><a href="liveinList.action" target="rinfo">入住列表</a>
			</li>
		</ul>
		<a href="#menu-menu" class="nav-header" data-toggle="collapse"  >菜单信息</a>
		<ul id="menu-menu" class="nav nav-list collapse" target="rinfo">
            <li ><a href="dishesList.action" target="rinfo">菜单列表</a></li>
        </ul>

		<a href="#legal-menu" class="nav-header" data-toggle="collapse">收银管理</a>
		<ul id="legal-menu" class="nav nav-list collapse">
            <li ><a href="dishesCheckOut.action" target="rinfo">结账</a></li>
            <li ><a href="dishesCheckOut.action" target="rinfo">挂账</a></li>
        </ul>
        </shiro:hasRole>
        
        <a href="#goods" class="nav-header" data-toggle="collapse">物品信息</a>
        <ul id="goods" class="nav nav-list collapse">
        	<shiro:hasRole name="管理员">
       			<li><a href="goodsList.action" target="rinfo">房间物品</a></li>
       		</shiro:hasRole>
       			<li><a href="legacyList.action" target="rinfo">遗失物品</a></li>
       		</ul>
        <shiro:hasRole name="总经理">
        
		<a href="#business-menu" class="nav-header" data-toggle="collapse">营业查询</a>
		<ul id="business-menu" class="nav nav-list collapse">
             <li ><a href="echartsTest/firstEcharts.html" target="rinfo">业务统计</a></li>
        </ul>
        
		<a href="#client-menu" class="nav-header" data-toggle="collapse">客户管理</a> 
		<ul id="client-menu" class="nav nav-list collapse">
			<li><a href="customerList.action" target="rinfo">客户信息</a></li>
            <li><a href="vipInfoList.action" target="rinfo">会员信息</a></li>
        </ul>
		
		<a href="#report-menu" class="nav-header" data-toggle="collapse">报表统计</a>
		<ul id="report-menu" class="nav nav-list collapse">
            <li><a href="monthStatement.action" target="rinfo">经济指标</a></li>
            <li ><a href="annualStatement.action" target="rinfo">酒店利润</a></li>
        </ul>
        
        </shiro:hasRole>
        <shiro:hasRole name="管理员">
        	<a href="#customer-menu" class="nav-header" data-toggle="collapse">客户管理</a>
        	<ul id="customer-menu" class="nav nav-list	 collapse">
	            <li><a href="customerList.action" target="rinfo">客户列表</a></li>
       		 </ul>
        	<a href="#rm-menu" class="nav-header" data-toggle="collapse">房间管理</a>
        	<ul id="rm-menu" class="nav nav-list collapse">
			<li><a href="roomInfoList.action" target="rinfo">房间列表</a>
			</li>
		</ul>
		<a href="#emp-menu" class="nav-header" data-toggle="collapse">员工管理</a>
		<ul id="emp-menu" class="nav nav-list	 collapse">
	            <li><a href="userList.action" target="rinfo">员工列表</a></li>
       		 </ul>
       		<a href="#admin-menu" class="nav-header" data-toggle="collapse">权限管理</a> 
       		<ul id="admin-menu" class="nav nav-list collapse">
	            <li >
	            	<a href="#admin-role-menu" class="nav-header" data-toggle="collapse">角色</a> 
	            	<ul id="admin-role-menu" class="nav nav-list collapse">
	            		<li><a href="roleList.action" target="rinfo">角色列表</a></li>
	            		 <li ><a href="userRoles.action" target="rinfo">角色分配</a></li>
	            	</ul>
	            </li>
	            <li >
	            	<a href="#admin-authority-menu" class="nav-header" data-toggle="collapse">权限</a> 
	            	<ul id="admin-authority-menu" class="nav nav-list collapse">
	            		  <li ><a href="authorityList.action" target="rinfo">权限列表</a></li>
	            		  <li ><a href="authorityAllot.action" target="rinfo">权限分配</a></li>
	            	</ul>
	            </li>
       	 	</ul>
       	 	<a href="#admin-system-menu" class="nav-header" data-toggle="collapse">系统设置</a>
       	 	<ul id="admin-system-menu" class="nav nav-list collapse">
	            		  <li ><a href="billingList.action" target="rinfo">通用设置</a></li>
	            		  <li ><a href="statementList.action" target="rinfo">报表设置</a></li>
	            	</ul>
        </shiro:hasRole>
	</div>

	<div class="content">
		<div class="header">
			<h1 class="page-title">欢迎使用</h1>
			<div style="width: 20%;height:20px; padding-left: 80%;position: relative;top: -32px;">
			<div class="BreakingNewsController easing" id="breakingnews1">
				<div class="bn-title"></div>
				<ul style="list-style: none;">
					<li><a href="http://www.baidu.com/" target="_blank">系统将于近日开始更新，请留意后续公告</a></li>
					<li><a href="http://www.baidu.com/" target="_blank">新功能即将上线</a></li>
					<li><a href="http://www.baidu.com/" target="_blank">新增客户反馈及报表维护功能</a></li>
					<li><a href="http://www.baidu.com/" target="_blank">客户评价模块即将上线</a></li>
					<li><a href="http://www.baidu.com/" target="_blank">如遇到错误，请反馈给管理员</a></li>
					<li><a href="http://www.baidu.com/" target="_blank">不会使用？查看帮助文档</a></li>
				</ul>
				<div class="bn-arrows"><span class="bn-arrows-left"></span><span class="bn-arrows-right"></span></div>	
			</div>
</div>
		</div>
		<ul class="breadcrumb" style="margin: 0px;padding: 0px">
			<li><span class="divider"></span><a href="">首页</a> <span class="divider">/</span></li>
		</ul>
		<div class="container-fluid" style="margin: 0;padding: 0">
			<jsp:include page="/iframe/center.jsp"></jsp:include>
		</div>
	</div>
	<script src="<%=path %>/lib/bootstrap/js/bootstrap.js"></script>
	<script src="<%=path %>js/breakingnews.js"></script>
	<script type="text/javascript">
        $("[rel=tooltip]").tooltip();
        $(function() {
            $('.demo-cancel-click').click(function(){return false;});
        });
    </script>
    <script>
$(function(){
	$('#breakingnews1').BreakingNews({
	});

});
</script>
<script src="js/canvas-nest.min.js" count="300" zindex="-2" opacity="0.5" color="47,135,193" type="text/javascript"></script>
</body>
</html>
